<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>国内折扣</title>
  <link rel="stylesheet" href="./css/base.css">
  <link rel="stylesheet" href="./css/common.css">
  <link rel="stylesheet" href="./css/discount.css">
</head> 

<body>
  <div class="mm-layout" id="aa">
    <!-- 头部 -->
    <div class="mm-header">
      <div class="hd-logo">
        <h4>
          国内折扣
        </h4>
        <a href="#" class="hd-app">
          <img src="./images/header_app.png" alt="">
        </a>
      </div>
    </div>

    <!-- 主体 -->
    <div class="mm-main">
      <!-- 内容 -->
      <div class="content">
        <!-- 商品详情 -->
        <div class="info">
          <h4>移动端凑单品：海天 鲜味 生抽 1.28L</h4>
          <p class="maing">19.8元(5件99元)</p>
          <div class="title">
            <span>京东商城</span>
            <span>10-25 14:10</span>
            <span>小编烟火 / 慢慢买</span>
          </div>
          <div class="txt">
            <div class="pic1 fr">
              <img src="./images/product.jpg" alt="">
            </div>
          </div>
          <!-- 商品介绍 -->
          <div class="conn">
            <p>海天的金标生抽酱油，采用了非转基因大豆以及小麦发酵而成，而自然鲜的口感是有些鲜甜鲜甜的感觉，
              非常适合用来作为日常炒菜用的调味料，</p>
              <p class="pic2">
                <img src="./images/productctrl.jpg" alt="">
              </p>
            </div>
        </div>
        <!-- 地址 -->
        <div class="site">

          <div class="buy">
            <a href="#">前往购买</a>
          </div>
        </div>
        <!-- 写评论 -->
        <div class="critical">

        </div>
      </div>
    </div>

    <!-- 底部 -->
    <div class="mm-footer">
      <div class="foot-top">
        <a href="#">登录</a>
        <a href="#">注册</a>
        <a href="#aa" class="upward"><img src="./images/top.jpg" alt="">返回顶部</a>
      </div>
      <div class="foot-bottom">
        <p>
          <a href="#">手机APP下载</a>
          <span>慢慢买手机版</span>
          -- 掌上比价平台
        </p>
        <p>m.manmanbuy.com</p>
      </div>
    </div>

  </div>
  <!-- 商品详情 -->
  <script type="text/html" id="tmp">
    {{ each result v i }}
      <!-- 商品详情 -->
      <div class="info">
          <h4>{{ v.productName }}</h4>
          <p class="maing">{{v.productPrice }}</p>
          <div class="title">
            <span>{{ v.productFrom }}</span>
            <span>{{ v.productTime }}</span>
            <span>{{ v.productTips }}</span>
          </div>
          <div class="txt">
            <div class="pic1 fr">
              <img src="http://cacheimg.manmanbuy.com/r_img/
              cacheimg.aspx?width=600&imgurl=j_sources/img/2016/10/24/190_190_0_36618798b6e1a98d9f4ae8f7a195f41b.jpg"  alt="">
            </div>
          </div>
          <!-- 商品介绍 -->
          <div class="conn">
            <p>{{ v.productInfo }}</p>
              <p class="pic2">
                  {{@ v.productImg  }}
              </p>
            </div>
        </div>
        <!-- 地址 -->
        <div class="site">
        {{ if v.productCity}} 
        
        {{@ v.productCity }}
        {{ else }}

        {{ /if }}
          <div class="buy">
            <a href="#">前往购买</a>
          </div>
        </div>
        <!-- 写评论 -->
        <div class="critical">
          {{@ v.productComment  }}
        </div>

    {{ /each }}
  </script>


  <script src="./lib/artTemplate/template-web.js"></script>
  <script src="./lib/jquery/jquery.min.js"></script>
  <script src="./js/common.js"></script>
  <script src="./js/discount.js"></script>
</body>

</html>s